import request from '@/utils/request'

// 查询每日营业进账流水列表
export function listReportOutFlow(query) {
  return request({
    url: '/supplier/reportOutFlow/list',
    method: 'get',
    params: query
  })
}

// 查询每日营业进账流水详细
export function getReportOutFlow(id) {
  return request({
    url: '/supplier/reportOutFlow/' + id,
    method: 'get'
  })
}

// 新增每日营业进账流水
export function addReportOutFlow(data) {
  return request({
    url: '/supplier/reportOutFlow',
    method: 'post',
    data: data
  })
}

// 修改每日营业进账流水
export function updateReportOutFlow(data) {
  return request({
    url: '/supplier/reportOutFlow',
    method: 'put',
    data: data
  })
}

// 删除每日营业进账流水
export function delReportOutFlow(id) {
  return request({
    url: '/supplier/reportOutFlow/' + id,
    method: 'delete'
  })
}

// 导出每日营业进账流水
export function exportReportOutFlow(query) {
  return request({
    url: '/supplier/reportOutFlow/export',
    method: 'get',
    params: query
  })
}